class blastobject extends object {
  constructor(modal, objData) {
    super(modal, objData);
//    game.playsound(0);
  }
  update(tick) {
    if(++this.image_interval >= this.modal.image_interval) {
      this.image_interval = 0;

      //动画播放完就清除掉
      if(++this.image_index >= this.modal.image_count_per_dir)
        this.state = objectState.AI_DEATH;
    }
  }

}